</head>
<body>
<div class="f-sep10"></div>
<div class="f-sep10"></div>
<div class="m-hd m-tabs">
  <h2 class="u-tt">{$action_name}{$form_info.name}</h2>
  <ul id="tabs">
    <li> <a class="z-crt" href="#tab1"><span class="icon">&#xf05a;</span> 基本信息</a></li>
	<li><a href='<?php echo url("admin_list_content/index",array("fid"=>$form_info["id"])); ?>'><span class="icon">&#xf101;</span> {$form_info.name}列表</a></li>
  </ul>
</div>
<div class="f-sep10"></div>
<div class="m-form">
  <form action="<?php echo url('admin_list_content/'.$action.'_save'); ?>" method="post" id="form">
    <fieldset>
      <!--foreach:{$field_list $vo}-->
      <?php echo api('expand_model','get_field_html',array('field_info'=>$vo,'data'=>$info[$vo['field']])); ?>
      <!--{/foreach}-->
      <div class="formitm formitm-1">
        <button class="u-btn" id="submit" type="submit">保存修改</button>
        <button class="u-btn u-btn-c4" id="reset" type="button">重置</button>
        <span id="tip" class="load"></span> </div>
    </fieldset>
    <input name="id" type="hidden" value="{$info.id}" />
	<input name="fid" type="hidden" value="{$form_info.id}" />
	<input name="file_id" id="file_id" type="hidden" value="{$file_id}" />
  </form>
</div>
</body>
<script>
Do.ready('base','form','dialog', function() {
	saveform('<?php echo url("admin_list_content/index",array("fid"=>$form_info["id"])); ?>');
});
</script>